package com.itheima.exercise.device;
/*
电视类
属性：品牌、型号、颜色、售价、屏幕尺寸、分辨率
 */
public class Tv extends Device{
    private double size;
    private double resolution;

    public Tv() {
    }

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }

    public double getResolution() {
        return resolution;
    }

    public void setResolution(double resolution) {
        this.resolution = resolution;
    }

    public Tv(String brands, String type, String color, String price, double size, double resolution) {
        super(brands, type, color, price);
        this.size = size;
        this.resolution = resolution;
    }
}
